package com.example.dynamicdatasourcedemo.dao;

import com.baomidou.dynamic.datasource.annotation.DS;
import com.example.dynamicdatasourcedemo.entity.User;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Component;

/**
 *   
 *  Created with IDEA  
 *  @author:尚旭波  
 *  @Date:2018/8/2  
 *  @Time:10:51    
 *  
 */
@Mapper
public interface UserDao {
    void addUser(User user);

    void addUserByMaster(User user);

    void addUserBySlave(User user);
}
